import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { NavBar } from 'vant'
// 引入移动端的适配
import 'amfe-flexible'

import { allChannelListAPI } from '@/api'

Vue.use(NavBar)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

const myFn = async () => {
  await allChannelListAPI()
}
myFn()
